<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
<style type="text/css">
* {
	list-style: none;
	text-decoration: none;
}

#select {
	margin-left: 25%;
	margin-top: 30px;
}

#select td {
	width: 90px;
	height: 30px;
	font-size: 1.3em;
	text-align: center;
}

#select th {
	width: 110px;
	height: 30px;
	font-size: 1.2em;
	text-align: center;
}
</style>
</head>
<body>

	<div id="select">
		<form>
			<table id="check" border="1">
				<tr>
					<th>编号</th>
					<th>价格</th>
					<th>类型</th>
					<th>图片地址</th>
					<th>出版社</th>
					<th>操作</th>
				</tr>
				<c:forEach items="${list }" var="b">
					<tr>
						<td>${b.id }</td>
						<td>${b.price }</td>
						<td>${b.type }</td>
						<td>${b.stress }</td>
						<td>${b.translation }</td>
						<td><a href="/books/delete?id=${b.id }">删除</a> <a
							href="/books/update?id=${b.id }">编辑</a></td>
					</tr>
				</c:forEach>
			</table>
			<p>
				<a href="/books/add">添加</a>
			</p>
		</form>
	</div>

</body>
</html>